﻿using System.ComponentModel.DataAnnotations;
using B.S.DataBase.MyProject.ErrorCode;
using MediatR;

namespace T.E.ERP.Write.API.Applicantions.Command.ApprovalCommand
{
    /// <summary>
    /// 审批管理基本信息
    /// </summary>
    public class ApprovalTrailCommand:IRequest<APIResult<object>>
    {
        /// <summary>
        /// 流程id
        /// </summary>
        public int Addroveid { get; set; }

        /// <summary>
        /// 所属表单
        /// </summary>
        public string? Approval { get; set; }


        /// <summary>
        /// </summary>
        public string? Belongto { get; set; }
        /// <summary>
        /// 审批流程名称
        /// </summary>
        public string? Process { get; set; }

        /// <summary>
        /// 审批说明
        /// </summary>
        public string? Instructions { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? Userid { get; set; }
        /// <summary>
        /// 用户昵称 
        /// </summary>
        public string? UserNiken { get; set; }
        /// <summary>
        ///角色id
        /// </summary>
        public int? Roleid { get; set; }


        /// <summary>
        ///角色名称
        /// </summary>
        public string? RoleName { get; set; }

        /// <summary>
        /// 审批状态
        /// </summary>
        public int? Status { get; set; }
        /// <summary>
        /// 审批状态名称
        /// </summary>
        public string? Appstatus { get; set; }

        /// <summary>
        /// 审批日期
        /// </summary>
        public DateTime? AppDate { get; set; }

    }
}
